from django.conf.urls import url, include
from django.urls import path
from . import views
from .views import LoginApi, WeeklyPastryMenuTabApi, \
    WeeklyPastryMenuDetailApi, ShippingAddressApi, EmptyPromptApi, \
    UserInfoApi, AvatarApi, NickNameApi, TrusteeshipApi, ScheduleApi, \
    IndicatorApi, IndicatorDetailApi, ShopMenuApi, ShopMenuDetailApi, \
    MemberPointsApi, OrdersApi, OrdersDetailApi, DefaultEmptyPrompt, \
    DefaultShippingAddress
urlpatterns = [
    path('login/', LoginApi.as_view()),
    path('weekly_pastry_menu/', WeeklyPastryMenuTabApi.as_view()),
    path('weekly_pastry_menu/detail/', WeeklyPastryMenuDetailApi.as_view()),
    path('shipping_address/', ShippingAddressApi.as_view()),
    path('empty_prompt/', EmptyPromptApi.as_view()),
    path('user_info/', UserInfoApi.as_view()),
    path('avatar/', AvatarApi.as_view()),
    path('nick_name/', NickNameApi.as_view()),
    path('trusteeship/', TrusteeshipApi.as_view()),
    path('schedule/', ScheduleApi.as_view()),
    path('indicator/', IndicatorApi.as_view()),
    path('indicator/detail/', IndicatorDetailApi.as_view()),
    path('shop_menu/', ShopMenuApi.as_view()),
    path('shop_menu/detail/', ShopMenuDetailApi.as_view()),
    path('member_points/', MemberPointsApi.as_view()),
    path('orders/', OrdersApi.as_view()),
    path('orders/detail/', OrdersDetailApi.as_view()),
    path('user_info/default_empty_prompt/', DefaultEmptyPrompt.as_view()),
    path('user_info/default_shipping_address/', DefaultShippingAddress.as_view())
]
